import { dyjDownLoadHttp as http } from '@/services/http';
import type { AccountListParamsDto } from '@/types/api/crm-dyj/user';
import type { OrderListParamsDto } from '@/types/api/crm-dyj/order';

/** 大赢加 - 用户管理 - 导出 */
export const exportDyjUserList = (params: AccountListParamsDto) =>
  http({
    url: '/api/admin/user/account/export',
    method: 'get',
    params
  });

/** 大赢加 - 订单管理 - 导出 */
export const exportDyjOrderList = (params: OrderListParamsDto) =>
  http({
    url: '/api/admin/order_management/order_list/export',
    method: 'get',
    params
  });
